package com.yhhvip.order.dao;
import com.yhhvip.order.entity.Commodity;
import com.yhhvip.order.entity.PartialCommissionRelation;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;


@Repository
public interface PartialCommissionRelationDao extends JpaRepository<PartialCommissionRelation,Integer>,JpaSpecificationExecutor<PartialCommissionRelation> {

    PartialCommissionRelation findByUserId(Integer userID);
}
